package com.x.erp.rpc;

import java.util.List;

import com.x.erp.model.CarSelectTemplate;
import com.x.framework.rpc.BaseRpcService;

/**
 * 车辆查询模板订阅服务
 * 
 * @author pansong
 *
 */

public interface CarSelectTemplateRpcService extends BaseRpcService {

	/**
	 * 新增车辆查询模板订阅信息
	 * 
	 * @param carSelectTemplate
	 * @return
	 */
	public void insertCarSelectTemplate(CarSelectTemplate carSelectTemplate, List<CarSelectTemplate> list);

	/**
	 * 通过分组查询车辆查询模板订阅列表
	 * 
	 * @param carSelectTemplate
	 * @return
	 */
	public List<CarSelectTemplate> selectCarSelectTemplateListByGroup(CarSelectTemplate carSelectTemplate);
	
	/**
	 * 查询车辆查询模板订阅列表
	 * 
	 * @param carSelectTemplate
	 * @return
	 */
	public List<CarSelectTemplate> selectCarSelectTemplateList(CarSelectTemplate carSelectTemplate);

	/**
	 * 删除车辆查询模板订阅信息
	 * 
	 * @param carSelectTemplate
	 * @return
	 */
	public int deleteCarSelectTemplate(CarSelectTemplate carSelectTemplate);
}
